body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    max-width: 800px; /* 设置页面最大宽度 */
    margin-left: auto; /* 自动边距 */
    margin-right: auto; /* 自动边距 */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

/* 按钮样式的超链接 */
.table-button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.table-button:hover {
    background-color: #4cae4c;
}

.table-button:active {
    background-color: #449d44;
}

.message {
    color: red; /* 错误信息颜色 */
    margin-bottom: 15px; /* 与表单的间距 */
}